@model University.Models.Mark

@* This partial view defines form fields that will appear when creating and editing entities *@

<div class="editor-label">
    @Html.LabelFor(model => model.MarkValue)
</div>
<div class="editor-field">
    @Html.EditorFor(model => model.MarkValue)
    @Html.ValidationMessageFor(model => model.MarkValue)
</div>

<div class="editor-label">
    @Html.LabelFor(model => model.Type)
</div>
<div class="editor-field">
    @Html.EditorFor(model => model.Type)
    @Html.ValidationMessageFor(model => model.Type)
</div>

<div class="editor-label">
    @Html.LabelFor(model => model.Professor)
</div>

<div class="editor-field">
   @Html.DropDownListFor(
    x => x.ProfessorId, 
    new SelectList(Model.Professors, "Value", "Text")
     )
</div>


